<div class="precut-coverages pb-5 {{ @$class }}">{{-- coverage-wrapper coverage-json-wrapper--}}
    <div class="row my-3">
        <div class="col-2">{{ ts('PART') }}</div>
        <div class="col-2">{{ ts('ROLLNUMBER') }}</div>
        <div class="col-2">{{ ts('LENGTH') }}</div>
        <div class="col-2">{{ ts('FILMTYPE') }}</div>
        <div class="col-2">{{ ts('FILMWIDTH') }}</div>
        <div class="col"></div>
    </div>
    <div class="coverage-list"></div>
    <div class="mt-5">
        <button type="button" class="btn btn-info addmore">{{ ts('addmore') }}</button>
    </div>
</div>

<script>
    @php
        $oldPart = ['part'=>old('part'), 'roll_number'=>old('roll_number'), 'length'=>old('length'), 'film_type_id'=>old('film_type_id') ?: [], 'width'=>old('width') ?: []];
    @endphp
    window.coverage_items_obj = @json(@$coverages);
    window.coverage_items_arr = @json($oldPart);
    window.coverage_items_readonly = 0;
</script>